package com.tong.embeddedvr.dto;

/**
 * TODO
 *
 * @author gcl
 * @version 1.0
 * @Description
 * @date 2021/2/24 12:29
 */
public class HostDTO {

    private Integer hostId;
    private String hostIp;
    private String hostUsername;
    private String hostPassword;
    private Integer hostUsernum;
    private Integer hostIsDelete;

    public static int MAX_USER_NUM = 20;

    public HostDTO() {
    }

    public HostDTO(Integer hostId, String hostIp, String hostUsername, String hostPassword, Integer hostUsernum, Integer hostIsDelete) {
        this.hostId = hostId;
        this.hostIp = hostIp;
        this.hostUsername = hostUsername;
        this.hostPassword = hostPassword;
        this.hostUsernum = hostUsernum;
        this.hostIsDelete = hostIsDelete;
    }

    public Integer getHostId() {
        return hostId;
    }

    public void setHostId(Integer hostId) {
        this.hostId = hostId;
    }

    public String getHostIp() {
        return hostIp;
    }

    public void setHostIp(String hostIp) {
        this.hostIp = hostIp;
    }

    public String getHostUsername() {
        return hostUsername;
    }

    public void setHostUsername(String hostUsername) {
        this.hostUsername = hostUsername;
    }

    public String getHostPassword() {
        return hostPassword;
    }

    public void setHostPassword(String hostPassword) {
        this.hostPassword = hostPassword;
    }

    public Integer getHostUsernum() {
        return hostUsernum;
    }

    public void setHostUsernum(Integer hostUsernum) {
        this.hostUsernum = hostUsernum;
    }

    public Integer getHostIsDelete() {
        return hostIsDelete;
    }

    public void setHostIsDelete(Integer hostIsDelete) {
        this.hostIsDelete = hostIsDelete;
    }

    public static int getMaxUserNum() {
        return MAX_USER_NUM;
    }

    public static void setMaxUserNum(int maxUserNum) {
        MAX_USER_NUM = maxUserNum;
    }

    @Override
    public String toString() {
        return "HostDTO{" +
                "hostId=" + hostId +
                ", hostIp='" + hostIp + '\'' +
                ", hostUsername='" + hostUsername + '\'' +
                ", hostPassword='" + hostPassword + '\'' +
                ", hostUsernum=" + hostUsernum +
                ", hostIsDelete=" + hostIsDelete +
                '}';
    }
}
